#!/bin/sh

# 提防从RDP远程连接而来的恶意

guix environment \
     --network \
     --container \
     --preserve='^DISPLAY$' \
     --share=/tmp=/tmp \
     --share=${HOME}/tmp=${HOME}/tmp \
     --share=${HOME}/.config/freerdp=${HOME}/.config/freerdp \
     --no-cwd \
     --ad-hoc freerdp \
     -- xfreerdp \
     -clipboard \
     -themes -wallpaper \
     ${@}
